home *** CD-ROM | disk | FTP | other *** search
- From: maller@crl.com (Steve Maller)
- Subject: Ascynch sound source code
- Date: Sat, 05 Nov 1994 09:24:03 -0800
-
- In article <bhorling-3110941518420001@bhorling.mac.trincoll.edu>,
- bhorling@trincoll.edu (Bryan Horling) wrote:
-
- > Does anyone have any source code that demonstrates how to implement simple
- > asynchronous sounds? C/C++ preferred but I'll take anything.
-
- Here's a function that, passed a FSSpec to a sound file (like those the
- Finder can play, opens it and plays the sound in it asynchrously. It uses
- the partial resource reading routine so that it can read the handle into
- temporary memory instead of having the program's application heap take the
- hit. Seems cleaner to me.
-
- This is part of a program I use all the time. Normal disclaimers apply.
-
- --
- Steve Maller
- Husband and Father
- maller@crl.com
- Steve_Maller@attpls.net (AT&T PersonaLink Services)
-